package com.rainbowred;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Desc:
 * @Date: 2023/10/26 15:45
 * @Author: pengweibiao
 **/
@SpringBootApplication
@ComponentScan(basePackages = {
        "com.rainbowred.*.controller",
        "com.rainbowred.*.service",
        "com.rainbowred.*.util",
        "com.rainbowred.*.handler"
})
// mapper包扫描
@MapperScan("com.rainbowred.*.mapper")
public class Application {
;
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
